package com.buer.storage.business.service;


import com.buer.storage.business.dto.PutStorageAllDto;
import com.buer.storage.business.dto.PutStorageDto;
import com.buer.storage.business.dto.WorderDto;

import java.util.List;

public interface WorderService {
    //增加入库
    int insert(PutStorageDto putStorageDto);

    //查询订单表
    List<WorderDto> findOrderAll();

    //查询入库表
//    List<PutStorageAllDto> findPutAll(int putId);

    //根据订单id删除订单信息
    int deletePutStorageById(int putId);

    //根据商品表id删除商品信息
    int deleteWorderdetails(int detailsId);

    //更新商品
    int updateWorderdetails(PutStorageDto putStorageDto);


    //增加入库单
    int submitAddBuerStock(Integer putId);

    //查询入库表
    List<PutStorageAllDto> findPutAll(Integer putId);


}
